namespace Sckf.MicroService.Services.Catalog.Infrastructure;

public class CatalogDbContext : MasaDbContext
{
    public DbSet<Domain.Entities.Catalog> Catalogs { get; set; } = null!;

    public CatalogDbContext(MasaDbContextOptions<CatalogDbContext> options) : base(options)
    {

    }

    protected override void OnModelCreatingExecuting(ModelBuilder builder)
    {
        builder.ApplyConfiguration(new CatalogEntityTypeConfiguration());
        base.OnModelCreatingExecuting(builder);
    }
}
